{{ define "cms/test_editormd.html" }}
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
  <meta name="description" content=""/>
  <meta name="author" content=""/>
  <title>Amita - Bootstrap 4 Multipurpose Admin Dashboard Template</title>

  <link rel="stylesheet" href="/static/editor.md/css/editormd.min.css" />
  
</head>
<body>
  <div id="editor">
      <!-- Tips: Editor.md can auto append a `<textarea>` tag -->
      <textarea style="height: 500px">### Hello Editor.md !</textarea>
  </div>
  <script src="/static/js/jquery-3.4.1.min.js"></script>
  <script src="/static/editor.md/editormd.min.js"></script>
  <script type="text/javascript">
      $(function() {
          var editor = editormd("editor", {
              width: "100%",
              height: "100%",
              // markdown: "xxxx",     // dynamic set Markdown text
              path : "/static/editor.md/lib/"  // Autoload modules mode, codemirror, marked... dependents libs path
          });
      });
  </script>

</body>
</html>
{{ end }}